Ext.define('AmpleHarvest.objects.content.cContent',
		{
			extend			: 'Ext.panel.Panel',
			alias			: 'widget.ampleharvest-objects-content-ccontent',
			layout			: 'fit',
			autoScroll		: true,
			cls				: 'html',
			region			: 'center',
			border			: 0,
			bodyStyle		: 'padding:5px;',
			str_data_source	: obj_config.C_STR_EXTERNAL_PATH+'/rest/data/data.php', // default source
			bubbleEvents	:
				[
					'doclassificationchange'
				],
			listeners		:
			{
				dataResponse	: function(obj_response)
				{
					if(this.writeContent)
					{
						this.writeContent(obj_response)
					}
				}
			},
			
			initComponent	: function()
			{
				var obj_This = this;

				this.m_obj_util = Ext.create('AmpleHarvest.util.utility');
				this.m_obj_util.AHcaller = this;
				var obj_params = new Object();
				if(this.m_str_id)
				{
					obj_params.id = this.m_str_id;
				}
				this.m_obj_util.getData(this.str_data_source, obj_params,{},'GET', {}, {});

				this.callParent();
			},

			highlight		: function(hl_object, str_Class, str_Attrib)
			{
				if (!str_Attrib)
				{
					str_Attrib = 'element_id';
				}

				var DOM_Object = this.getEl().select('element[' + str_Attrib
						+ '=' + hl_object + ']');
				
				DOM_Object.set(
						{
							'class'	: str_Class
						}, true);
			}
		});